package com.culture.java.online.education.platform.common.mybatis.config;

import com.culture.java.online.education.platform.common.mybatis.handler.MetaDataHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@MapperScan("com.culture.**.dao")
public class MapperScanConfig {

    @Bean
    public MetaDataHandler metaDataHandler() {
        return new MetaDataHandler();
    }

}
